package com.lazydong.apiforward.client.framework;

import javax.swing.*;

public abstract class PageAbility<T> {

    public abstract PageInfo getPageInfoEnum();

    public abstract int getOrder();

    public abstract void initConfig();

    public abstract T loadConfig();

    public JTabbedPane getChildJPanel() {
        return null;
    }

    public abstract void buildPage(JPanel parentJPanel, T config);

    public void afterBuildPage() {

    }

    public void afterServiceStart() {

    }

    public void monitorEvent(PageEvent pageEvent, String text) {

    }
}
